package com.zrrd.yt.webll.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
public class PassportController {

    //进入登录页面
    @GetMapping("login.html")
    public String login(HttpServletRequest request){
        request.setAttribute("originUrl",request.getParameter("originUrl"));
        return "login";
    }
}
